/*
    Modify by Marc
*/
body{color: #454545;}
input,
textarea{color: #454545;}
.clearfix:after{content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix{zoom: 1;}
::-webkit-input-placeholder{color: #999;}
:-moz-placeholder{color: #999;}
::-moz-placeholder{color: #999;}
:-ms-input-placeholder{color: #999;}

/*内容编辑美化20210402*/

/*表单增加内阴影效果*/
.layui-input:focus, .layui-textarea:focus,.layui-input:hover, .layui-textarea:hover {border-color: #75B9F0 !important;box-shadow: 0 0 0 2px rgba(82, 168, 236, 0.15);color: #333;}
/*.input-title {background: url(../images/titlebg.gif) no-repeat scroll 5px 6px #fff;}*/
/*.layui-tab-content .layui-form-item {border-bottom: 1px solid #f7f7f7;padding: 12px 0;margin-bottom: 0;}
.layui-tab-content .layui-form-item:last-child{border-bottom: none;}
.layui-tab-content .layui-form-item:nth-child(2n) {background-color: #FDFDFD;}*/
.cate-select input {color: #454545;}
.content-list .layui-table td, .content-list .layui-table th {font-size: 13px;text-align: center;}
.left{text-align: left !important;}
@media (max-width: 1366px) {
	.layui-table td, .layui-table th {padding: 9px 10px;}
}

.layui-layout-body{background: #f2f2f2;}
.layui-header{height: 50px;}
.layui-body{padding: 15px; position: static;}
.layui-layout-admin .layui-body{top: 50px;}
.admin-left-nav{background: var(--danger-color) !important; width: 180px; height: 100%; position: fixed; z-index: 9999; top: 0;}
.layui-layout-admin .layui-logo{color: #fff; font-size: 0px; line-height: 70px; height: 70px; text-align: center; width: 100%; box-sizing: border-box; overflow: hidden; padding: 0px 10px; background: var(--navcolor);}
.layui-layout-admin .layui-logo .layui-badge{font-size: 10px; padding: 3px; height: 12px; line-height: 12px; top: -3px;}
.layui-layout-admin .layui-logo img{vertical-align: middle; margin-top: 0; max-width: 100%; /*height: 40px;*/}
.layui-layout-admin .layui-logo a{color: #fff; font-size: 0;}
.layui-layout-admin .layui-header .layui-nav .layui-nav-item{height: 50px; line-height: 50px;}
.layui-layout-admin .layui-side{top: 70px;}
.layui-layout-admin .layui-side .layui-nav i{margin-right: 10px;width: 12px;}
.layui-layout-admin .layui-side .layui-nav-child dd{padding-left: 20px;}
.layui-form-label{width: 100px;}
.layui-input-block{margin-left: 0;padding-left: 130px; width: 97%; box-sizing: border-box;}
.layui-layout-left{left: 210px;}
.layui-table .layui-btn{margin: 0.5px 0;}
.layui-table .layui-btn+.layui-btn{margin-left: 0px;}
.layui-form-select dl{z-index: 9999; max-height: 250px;}
.layui-text-red{color: red;}
/*菜单显示按钮*/
.menu{position: absolute !important; left: 200px; top: 10px; line-height: 30px; color: var(--color); text-align: center; z-index: 999;}
.menu a{color: #ccc;}
.menu .menu-ico{font-size: 20px; cursor: pointer;}
.area-select{position: absolute; left: 240px; top: 10px;}
.area-select select{height: 30px; border: 1px solid #ddd; padding-left: 5px; border-radius: 2px; color: #454545;}
/*桌面快捷图标*/
.deskbox {
  height: 120px;
  color: #fff;
  text-align: center;
  background: #999;
  margin: 5px;
}
.layui-row .layui-col-lg2:nth-child(1) .deskbox { background:#27a9e3; }
.layui-row .layui-col-lg2:nth-child(2) .deskbox { background:#2295c9; }
.layui-row .layui-col-lg2:nth-child(3) .deskbox { background:#28b779; }
.layui-row .layui-col-lg2:nth-child(5) .deskbox {background:#fd4441;}
.layui-row .layui-col-lg2:nth-child(4) .deskbox { background:#da9628; }
.layui-row .layui-col-lg2:nth-child(6) .deskbox { background:#2255a4; }
.deskbox:hover {
  opacity: .9;
}
.deskbox dd {
  font-size: 34px;
  line-height: 60px;
  color: #fff;
  font-weight: bold;
}
.deskbox dt {
  padding-top: 26px;
  color: #fff;
  font-weight: normal;
  font-size: 16px;
}
.page{clear: both; margin: 10px 0; text-align: center;}
.page a:hover{color: #333;}
.page a{color: #666;}
.page-status{border-radius: 2px 0 0 2px;}
.page-last{border-radius: 0 2px 2px 0;}
.page-status,
.page-index,
.page-pre,
.page-num,
.page-next,
.page-last{display: inline-block; *display: inline; *zoom: 1; vertical-align: middle; padding: 0 15px; height: 28px; line-height: 28px; margin: 0 -1px 5px 0; background-color: #fff; color: #666; font-size: 12px; border: 1px solid #e2e2e2;}
.page .page-num-current{background-color: var(--color); height: 30px; line-height: 30px; border-top: none; border-bottom: none; color: #fff;}
a.page-num-current:hover{color: #fff;}
.readonly{background: #fafafa;}
.table-input{padding: 0px 15px !important;}
.table-input input{height: 30px;min-width: 30px; max-width: 50px; padding: 0px; text-align: center; color: #454545;}
.table-two tbody td{text-align: left;}
.table-two tbody th{text-align: right; width: 110px;}
.fa-toggle-on{font-size: 20px; color: #5FB878;}
.fa-toggle-off{font-size: 20px; color: #d2d2d2;}
.pic{margin-left: 130px;}
.pic dl{float: left; position: relative;}
.pic dl dd{position: absolute; right: 5px; top: 5px; cursor: pointer; background: #454545; color: #fff; padding: 2px;}
.pic img{max-height: 100px; margin: 5px 0; margin-right: 5px;}
@media only screen and (min-width: 450px){.layui-form-item .layui-input-inline{width: 260px;}}
@media only screen and (max-width: 750px){.layui-body{left: 0px !important;} .menu{left: 20px;} .area-select{right: 5px; left: auto;} .layui-layout-admin .layui-footer{left: 0px !important;} .admin-left-nav, .layui-layout-admin .layui-side{display: none;} .layui-body{overflow-x: auto;} .hidden-xs{display: none;} .layui-form-label{width: 80px;} .pic{margin-left: 110px;} .layui-input-block{ width: auto;}}
@media only screen and (max-width: 450px){.layui-form-item.nospace .layui-input-inline{margin: 0 0 10px 0px;}}
.layui-form-item .input-md{width: 385px;}
.layui-form-item .layui-input-inline.w150 {width: 150px;}
/* .layui-form-item .input-xs{width: 265px;} */
/*多图文开始 @mk-label 2020.03.03*/
.ui-sortable-placeholder{display: inline-block;}
.images_upload_wrap li{margin-right: 1%; display: inline-block;}
.images_upload .ic{border: 1px solid #ddd; padding: 5px; border-radius: 4px; position: relative; float: left; background: #fff;}
.images_upload .cover-bg{background: #000; opacity: 0.5; width:100%; height: 100%; position: absolute; z-index: 2;display: none;}
.images_upload .icaction{position: absolute; top:50%; margin-top: -15px; text-align: center; width:100%; z-index: 111;display: none;}
.images_upload .icaction span{height: 28px; line-height: 28px; padding: 0 8px; background: #FF6666; color: #fff; display: inline-block; cursor: pointer;}
.images_upload .upimg img{vertical-align: middle; max-width: 100%; max-height: 100px;}
.images_upload .ic img{position:absolute; top:50%; transform:translate(-50%,-50%); z-index: 1; left:50%;}
.images_upload textarea{width:100%; box-sizing: border-box; margin-top: 5px; font-size: 13px; height: 50px; min-height: 50px; float: left; border-color: #ddd; border-radius: 3px; -webkit-appearance: none; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.065) inset; transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1) 0s;}
.table-bordered{width:100%;}
a.upimg,div.upimg{height: 100px; background: #fafafa; overflow: hidden; text-align: center; position: relative; display: block;}
div.upimg:hover .icaction,
div.upimg:hover .cover-bg{display: block !important;}
.operation a{text-align: center; color: #454545; outline: none; width: 33.3333%; float: left; font-size: 14px;}
.operation a input{display: inline-block; margin-right: 3px; vertical-align:middle; margin-top: -3px;}
a.imgupload{display: inline-block; padding: .5em 1em; vertical-align: middle; font-size: 1.0rem; font-weight: 400; line-height: 1.2; text-align: center; white-space: nowrap; border-radius: 0; cursor: pointer; outline: 0; -webkit-transition: background-color .3s ease-out,border-color .3s ease-out; transition: background-color .3s ease-out,border-color .3s ease-out; color: #fff; background-color: #3bb4f2; border-color: #3bb4f2;}
.operation a label{cursor: pointer;}
a.imgupload i{font-size: 1.0rem;}
a.imgupload:hover{background-image: linear-gradient(160deg, #3bb4f2 20%,#008cff 80%);} @media (max-width:1680px){.operation a{font-size: 12px;}
.operation a label{cursor: pointer;}}
div.tab-pane.pics a.upimg{height: auto; padding: 8px; padding-bottom:0px;}
div.tab-pane.pics .images_upload{width:auto;position: relative;}
div.tab-pane.pics .delect{text-align: center; display: block; background: #fafafa;position: absolute;bottom: -3px;left: 0;color: #fff; background-color:rgba(0,0,0,0.5);z-index: 2;width: 100%;}
.template_div{margin: 5px 0px;}
/*多图文结束
/*内容图集*/
.pic dl{position: relative; margin-right: 10px; text-align: center; border: 1px solid #e6e6e6; box-sizing: border-box; margin-top: 5px; width: 180px; cursor: all-scroll !important;}
.add_pics dl:first-child{display: none;}
.pic dl dt{padding: 2px; box-sizing: border-box; height: 100px; line-height:96px; font-size: 0;background: url(../images/imgbg.png);}
.pic img{margin: 0; margin-right: 0; max-width: 100%; max-height: 100%;}
.pic dl p{width: 100%; box-sizing: border-box;}
.pic dl p input{width: 100%; border-radius: 0; border: none; border-top: 1px solid #e6e6e6; color: #454545; height: 30px; padding: 0 10px; box-sizing: border-box;}
.pic dl p textarea{width: 100%; border-radius: 0; border: none; border-top: 1px solid #e6e6e6; color: #454545;padding: 5px 10px 0; box-sizing: border-box; min-height: 50px;}
.add_pics_desc dl p {display: block !important;}
/*内容图集*/
/*部分美化代码*/
#nav li dl dd.layui-this, #nav li dl dd.layui-this>a, .layui-nav-tree .layui-this>a{color: #fff !important;background: transparent;}
#nav li dl dd.layui-this{background: var(--color);}
.layui-nav-tree .layui-nav-bar,
.layui-nav-bar{display: none !important;}
.layui-nav-itemed>.layui-nav-child{background-color: var(--navsubcolor) !important;}
.layui-layout-admin .layui-header{background: #fff; height: 50px; box-shadow: 0 2px 4px rgba(0, 0, 0, .05);}
.layui-layout-right {padding-right: 25px;}
.layui-layout-right .layui-nav-item a{color: #454545;padding: 0 15px;}
.layui-layout-right .layui-nav-item a:hover{color: var(--color);}
.layui-layout-right .layui-nav-item a .layui-nav-more{border-color: #454545 transparent transparent; border-top-color: #454545;}
.layui-layout-right .layui-nav-item a .layui-nav-mored{border-color: transparent transparent #454545;}
.layui-tab-brief{background: #fff; padding: 10px 15px; margin: 0;box-shadow: 0 1px 2px rgba(0, 0, 0, .05);border-radius: 2px;}
.layui-tab-content{padding: 15px 0 10px;}
.layui-tab-title,.layui-tab-title .layui-this:after{border-color: #ddd;}
.layui-tab-title .layui-this:after{border-bottom-color: #fff;}
.tab-big li, .layui-tab-title li{color: #222;}
.layui-tab-brief>.layui-tab-title li{font-size: 15px;font-family: "webfont";}
.layui-tab-title .layui-this{color: #222;}

/*去除固定底部*/
.layui-layout-admin .layui-footer{display: none;}
.layui-layout-admin .layui-body{bottom: 0;}
.edui-default .edui-editor{transition: all .3s;-webkit-border-radius: 2px !important; -moz-border-radius: 2px !important; border-radius: 2px !important;overflow: hidden !important;}
/* .edui-default .edui-editor:hover{border-color: #75B9F0 !important;box-shadow: 0 0 0 2px rgba(82, 168, 236, 0.15);} */
.bg-default{padding: 15px; background: #fff; overflow: hidden;box-shadow: 0 0 4px rgba(0, 0, 0, .05);}
.input-edit{border: 1px solid transparent; background: none !important; padding: 8px; display: inline-block;}
.input-edit.on{border-color: #75B9F0; box-shadow: 0 0 5px #75B9F0;}
.input-edit-visits{width: 40px;}
.tit-ico{display: inline-block; position: relative;}
.tit-ico .stimg{position: absolute; top: 0; left: 35px; width: 200px; display: none; z-index: 9999; max-width: 150px!important; border: 1px solid #ddd; background: #fff;}
/*增加sm输入框*/
.layui-input-sm,
.layui-select-sm,
.layui-textarea-sm,
.layui-input-sm .layui-input,
.layui-input-sm .layui-form-select dl dd,
.layui-input-sm .layui-form-select dl dt{height: 30px; line-height: 30px; font-size: 12px;}
#checkall,
.checkitem{display: inline-block !important;}
.select-cate{width: 180px;}
/*lay-ignore样式补充*/
.form-select{color: #555555; background-color: #FFF; border: solid 1px #eee; padding: 4px 6px; resize: none; vertical-align: middle; box-shadow: none;}
.red{color: red;}


/*留言通知 20210804*/
.header_message.cur em {
    font-size: 12px;
    margin-left: 5px;
    height: 16px;
    min-width: 16px;
    padding: 0 3px;
    background: red;
    border-radius: 2px;
    display: inline-block;
    color: #FFF;
    line-height: 16px;
    text-align: center;
    font-weight: bold;
    font-style: normal;
    vertical-align: middle;
}
.layui-layout-right .layui-this:after {
  display: none;
}

.ant-alert {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  /* color: rgba(0,0,0,.65); */
  font-size: 14px;
  font-variant: tabular-nums;
  line-height: 1.5;
  list-style: none;
  -webkit-font-feature-settings: "tnum";
  font-feature-settings: "tnum";
  position: relative;
  padding: 8px 15px 8px 37px;
  word-wrap: break-word;
  border-radius: 4px;
  margin-bottom: 15px;
}
.ant-alert-info {
  background-color: #e6f7ff;
  border: 1px solid #91d5ff;
}
.anticon {
  display: inline-block;
  color: inherit;
  font-style: normal;
  line-height: 0;
  text-align: center;
  text-transform: none;
  vertical-align: -.125em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.ant-alert-info .ant-alert-icon {
  color: var(--color);
}
.ant-alert-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 16px;
}
.ant-alert a {
  color: var(--color);
}

/* 表格美化 */
.layui-table{border: 1px solid #e6e6e6;}
.layui-table thead th{font-weight: 600;}
.layui-table th,
.layui-table td{border-left: none;border-right: none;}
/* .layui-table tr:nth-child(2n) {
  background: #F9F9FB;
} */

.layui-border-blue {
  border-color: var(--color)!important;
  color: var(--color)!important;
}

.layui-tab-brief>.layui-tab-title .layui-this {font-weight: bold;}
.layui-tab-brief>.layui-tab-title li:hover,
.layui-tab-brief>.layui-tab-title li:hover a,
.layui-tab-brief>.layui-tab-title .layui-this a{color: var(--color);}

/* 按钮中的数字 */
.layui-btn .num {color: #999;}

/* 编辑器 */
.layui-tab-title-content, .layui-tab-title-content .layui-this:after {border: none;height: 35px;}
.layui-tab-title-content li {background-color: #f2f2f2;color: #666; line-height: 35px;min-width: 60px;padding: 0 10px;border-top-left-radius: 2px;border-top-right-radius: 2px;}
.layui-tab-title-content li:hover{color: var(--subcolor);}
.layui-tab-title-content li.layui-this {background-color: var(--subcolor);color: #fff;}

.mt0{margin-top: 0 !important;}

.title-btn {position: absolute; right: 0; top: -50px; height: 28px; line-height: 28px; border-color: #ccc;}

/* 首页底部版权信息 */
.powered {text-align: center;color: #999;margin-top: 20px;}
.powered a {color: #999;}
.powered a:hover{color: var(--color);}

/* 单选美化 */
input[type="checkbox"] {
	width: 16px;
	height: 16px;
	display: inline-block;
	text-align: center;
	line-height: 16px;
	position: relative;
}

input[type="checkbox"]::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	width: 100%;
	height: 100%;
	border: 1px solid #ddd;
	border-radius: 2px;
	font-size: 14px;
}

input[type="checkbox"]:checked::before {
	content: "\2713";
	background-color: var(--color);
	border: 1px solid var(--color);
	color: #fff;
}